package com.innovate.nms.domain;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.google.common.collect.Lists;
import com.ivan.toolkit.common.Configs;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement
@NoArgsConstructor
public class NetNodes {
	
	public static Configs.Instance<NetNodes> instance = 
			new Configs.Instance<NetNodes>(NetNodes.class, true);
	
	@XmlAttribute
	@Setter @Getter
	private String local = "本地";
	
	@XmlElement
	@Setter @Getter
	private List<NetNode> results = Lists.newLinkedList();

}
